package com.hzdl.cinema.domain;

public class Play {
    private Integer playId;

    private String playName;

    private Integer playLength;

    private String playImage;

    private String playType;

    private String playDescription;

    public Integer getPlayId() {
        return playId;
    }

    public void setPlayId(Integer playId) {
        this.playId = playId;
    }

    public String getPlayName() {
        return playName;
    }

    public void setPlayName(String playName) {
        this.playName = playName == null ? null : playName.trim();
    }

    public Integer getPlayLength() {
        return playLength;
    }

    public void setPlayLength(Integer playLength) {
        this.playLength = playLength;
    }

    public String getPlayImage() {
        return playImage;
    }

    public void setPlayImage(String playImage) {
            this.playImage = playImage;
    }

    public String getPlayType() {
        return playType;
    }

    public void setPlayType(String playType) {
        this.playType = playType == null ? null : playType.trim();
    }

    public String getPlayDescription() {
        return playDescription;
    }

    public void setPlayDescription(String playDescription) {
        this.playDescription = playDescription == null ? null : playDescription.trim();
    }

    @Override
    public String toString() {
        return "Play{" +
                "playId=" + playId +
                ", playName='" + playName + '\'' +
                ", playLength=" + playLength +
                ", playImage='" + playImage + '\'' +
                ", playType='" + playType + '\'' +
                ", playDescription='" + playDescription + '\'' +
                '}';
    }

    public Play() {
    }


    public Play(Integer playId, String playName, Integer playLength, String playImage, String playType, String playDescription) {
        this.playId = playId;
        this.playName = playName;
        this.playLength = playLength;
        this.playImage = playImage;
        this.playType = playType;
        this.playDescription = playDescription;
    }

}